<?php

/* @var $this \yii\web\View */
/* @var $content string */
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\web\View;
use yii\helpers\Url;

AppAsset::register($this);
// 写注册js的代码
$this->registerJs('jQuery(document).ready(function() { App.init(); } );', View::POS_END);
//加载css代码
$this->registerCssFile(Url::base().'/static/css/login.css', ['depends'=>'backend\assets\AppAsset']);
?>
<?php $this->beginPage()?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags()?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head()?>
</head>
<body class="login">
<?php $this->beginBody()?>
    <!-- BEGIN LOGO -->
	<div class="logo">
		<img src="static/image/logo-big.png" alt="">
	</div>
	<!-- END LOGO -->

	<div class="content">
		<?=$content?>
	</div>

<?php $this->endBody()?>
</body>
</html>
<?php $this->endPage()?>
